<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
    <body>
        <!--头部-->
<div class="header left">
	<div class="top-wrap">
    	<div class="logo left"><img src="<?php echo image_path('skill/logo.png'); ?>"></div>
        <ul class="naver left" id="top_nav">
        	<li class="<?php include_slot('index')?>"><a href="<?php echo url_for('skill/index'); ?>">发现</a></li>
            <li><a href="">动态</a></li>
            <li><a href="">活动</a></li>
            <?php if($sf_user->isAuthenticated()): ?>
            <li class="<?php include_slot('me')?>"><a href="<?php echo url_for('skill/personal?user_id='.$sf_user->getAttribute('user_id')); ?>">我的</a></li>
            <?php endif; ?>
        </ul>
        <div class="sea-user right">
        	<div class="sea-user-li"><a href="#"><i class="sreach"></i>搜索</a></div>
            <div class="sea-user-li"><a href="#"><i class="iphone"></i>客户端</a></div>
            <?php if(!$sf_user->isAuthenticated()): ?>
            <div class="sea-user-img" style="float:right;background: none;color: #F86442;font-size:16px;width:85px;">
                <a href="<?php echo url_for('user/login'); ?>" style="background: none;color: #F86442;font-size:16px;text-decoration: none;">登入</a> / <a href="<?php echo url_for('user/reg'); ?>" style="background: none;color: #F86442;font-size:16px;text-decoration: none;" >注册</a>
            </div>
            <?php else: ?>
            <div class="sea-user-img" ><img src="<?php echo $sf_user->getAttribute('user_cover',''); ?>" /></div>
            <?php endif; ?>
        </div>
    </div>
</div>
        
            <?php echo $sf_content; ?>
        
         
<!--底部-->
<div class="footer left">
	<p><a href="">关于我们</a><span>|</span><a href="">联系我们</a><span>|</span><a href="">公司新闻</a><span>|</span><a href="">招贤纳士</a><span>|</span><a href="">使用协议</a><span>|</span><a href="">版权声明</a><span>|</span><a href="">开放平台</a><span>|</span><a href="">中国互联网举报中心</a></p>
    <p>&copy;&nbsp;有学在线教育&nbsp;上海有学教育科技有限公司版权所有</p>
    <p>沪ICP备14052831号-1</p>
</div>

    </body>
</html>